Functions


Creating Alert Boxes

Alert Displays an alert box and/or plays an alert sound.
CautionAlert Displays an alert box with a caution icon and/or plays an alert sound.
NoteAlert Displays an alert box with a note icon and/or plays an alert sound.
StandardAlert Displays a standard alert box.
StopAlert Displays an alert box with a stop icon and/or plays an alert sound.

Creating Dialog Boxes

GetNewDialog Creates a dialog box from a resource-based description.
NewFeaturesDialog Creates a dialog box from information passed in memory.

Filtering Dialog Box Events

GetModalDialogEventMask Obtains the events to be received by the ModalDialog function.
SetModalDialogEventMask Specifies the events to be received by the ModalDialog function.

Handling Events in Dialog Boxes

ModalDialog Handles events while your application displays a modal or movable modal dialog box.

Handling Text in Alert and Dialog Boxes

SetDialogItemText Sets the text string for static text and editable text fields.

Manipulating Items in Dialog Boxes and Alert Boxes

AppendDialogItemList Adds items to an existing dialog box while your program is running.
AutoSizeDialog Automatically resizes static text fields and their dialog boxes to accommodate changed static text.
FindDialogItem Determines the item number of an item at a particular location in a dialog box.
GetDialogItem Obtains a handle to a dialog item.
GetDialogItemAsControl Obtains the control handle for a dialog item in an embedding hierarchy.
GetDialogKeyboardFocusItem This function is not recommended with Appearance Manager 1.0 and later.
MoveDialogItem Moves a dialog item to a specified location in a window.
SetDialogItem Sets or changes information for a dialog item.
SizeDialogItem Sizes a dialog item.

Simulating User Responses in Dialog Boxes

GetDialogTimeout Obtains the original countdown duration, the time remaining, and the item selection to be simulated for a specified modal dialog box.
SetDialogTimeout Simulates an item selection in a modal dialog box after a specified amount of time elapses.

Miscellaneous

AppendDITL
CallModalFilterProc
CallSoundProc
CallUserItemProc
CloseDialog
CouldAlert
CouldDialog
CountDITL
DialogCopy
DialogCut
DialogDelete
DialogPaste
DialogSelect
DisposeDialog
DisposeModalFilterUPP
DisposeSoundUPP
DisposeUserItemUPP
DrawDialog
ErrorSound
FreeAlert
FreeDialog
GDBShowDialogInfo
GetAlertStage
GetDialogCancelItem
GetDialogControlNotificationProc
GetDialogDefaultItem
GetDialogFromWindow
GetDialogItemText
GetDialogParent
GetDialogPort
GetDialogRefCon
GetDialogTextEditHandle
GetDialogWindow
GetParamText
GetStdFilterProc
HideDialogItem
InitDialogs
InsertCheckBoxDialogItem
InsertControlDialogItem
InsertDialogItem
InsertEditTextDialogItem
InsertIconDialogItem
InsertPictureDialogItem
InsertPushButtonDialogItem
InsertRadioButtonDialogItem
InsertStaticTextDialogItem
InsertUserDialogItem
InvokeModalFilterUPP
InvokeSoundUPP
InvokeUserItemUPP
IsDialogEvent
NewColorDialog
NewDialog
NewModalFilterProc
NewModalFilterUPP
NewSoundProc
NewSoundUPP
NewUserItemProc
NewUserItemUPP
ParamText
QTModelessCallbackProcPtr
RemoveDialogItem
RemoveDialogItems
ResetAlertStage
SelectDialogItemText
SetDialogCancelItem
SetDialogDefaultItem
SetDialogFont
SetDialogMovableModal
SetDialogRefCon
SetDialogTracksCursor
SetModelessDialogCallbackProc
SetPortDialogPort
ShortenDITL
ShowDialogItem
StdFilterProc
UpdateDialog
finddialogitem
getdialogitemtext
newcolordialog
newdialog
paramtext
setdialogitemtext

© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)